package com.pets.web.vo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 商品评论表
 * </p>
 *
 * @author zhurenwang
 * @since 2024-05-26
 */
@Data
@ApiModel("评价实体")
public class ApiPetsCommentAddRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "订单号不能为空")
    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @NotBlank(message = "微信用户openId不能为空")
    @ApiModelProperty(value = "微信用户openId")
    private String openId;

    @ApiModelProperty(value = "评论")
    private String comment;

    @ApiModelProperty(value = "图片 多张英文逗号分隔")
    private List<String> pics;

    @ApiModelProperty(value = "得分")
    private Integer score;

}
